Skip to content

Conversation

@schase-es
Copy link
Contributor

Backports the following commit for ES-11644 to 8.19:

  • transport: pass network channel exceptions to close listeners 127895

…c#127895)

Previously, exceptions encountered on a netty channel were caught and logged at
some level, but not passed to the TcpChannel or Transport.Connection close
listeners. This limited observability. This change implements this exception
reporting and passing, with TcpChannel.onException and NodeChannels.closeAndFail
reporting exceptions and their close listeners receiving them. Some test
infrastructure (FakeTcpChannel) and assertions in close listener onFailure
methods have been updated.

Backports PR 127895/ES-11644 to 8.19
@schase-es schase-es requested a review from nicktindall June 12, 2025 22:56
@schase-es schase-es added >non-issue :Distributed Coordination/Network Http and internode communication implementations backport auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) v8.19.0 and removed auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) labels Jun 12, 2025
Copy link
Contributor

@nicktindall nicktindall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@schase-es schase-es merged commit 990b69a into elastic:8.19 Jun 13, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport :Distributed Coordination/Network Http and internode communication implementations >non-issue v8.19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants